package com.nuanshui.heatedloan.baseservice.facade;

import com.nuanshui.heatedloan.baseservice.model.UserAgent;
import com.nuanshui.heatedloan.dubbo.DubboResponse;

import javax.servlet.http.HttpServletRequest;



public interface BaseService {
	
	void error(String msg);
	
	HttpServletRequest getRequest();
	
	UserAgent getUserAgent();
	
	boolean isFromWechat();
	
	String getWechatOpenId();
	
	DubboResponse success(Object object);
	
	String getCurrentUserInfo();
	
	String getCurrentChannel();
	
	String getCurrentUserId();
	
	String getCurrentOpenId();
}
